Releases HISTORY
---------------
RAINBOW PORTAL
Main portal - http://www.rainbowportal.net
Sourceforge CVS - http://sourceforge.net/projects/rainbowportal/
Support Forums - http://forums.rainbowportal.net
Bug Tracker: http://support.rainbowportal.net
NOTE: All data are in Italian format day/month/year!
New Setup:
- Create an empty db called Rainbow.
Updating database:
- Run web, a page will prompt you for update
- Follow carefully instructions
- IMPORTANT NOTE on web.config ConnectionString value:
Integrated security changes object owner to ASPNET account.
It is not recommended to switch access login
*****************************************************
1.5.0.1791z - 02/03/2005
by Manu
- FIX: Newsletter for case sensitive databases
- FIX: Minor fixes
by Jonhantan
- ENH: Better viewstate management on some modules
- ENH: Enhanced security on FileDirectory tree (allows only rainbow virtual path)
1.5.0.1791y - 28/02/2005
by Manu
- FIX: Minor fixes in clean install
Moved Content Manager as last module
Included LanguageSwitcher in list
Other minor fixes
- FIX: Better null handling on page key phrase
- FIX: Minor cleanup on project
by Jonhantan
- FIX: Fixed base path on FCK2
by Ozan Sirin (ozan@rainbow.web.tr)
- FIX: Changed "EMAIL" to "Email" in Newsletter_install.sql for accent and case sensitive DBMSs
1.5.0.1791x - 27/02/2005
by Manu
- FIX: Improved the install scripts and fixed some bugs
- ENH: Brand new default portal content
- ENH: Language switcher default is now DropDown
- FIX: Lanugage list now matches current cultures
- FIX: Other minor fixes
by Frano
- Updated hr resources
1.5.0.1791x - 12/02/2005
by John Mandia(www.whitelightsolutions.com)
- FIX: RBM-215: Added try catch block in User Profile to catch any issues.
PROFILE_INFO_ERROR new textkey that needs to be localised.
1.5.0.1791w - 12/02/2005
by John Mandia(www.whitelightsolutions.com)
- FIX: RBP-639: Duplicate registration now provides a friendlier message. Needs to be localised in Esperantus resx files
key = REGISTRATION_FAILED_EXISTING_EMAIL_ADDRESS. Message shown by default is: "Registration has failed. This email
address has already been registered. Please use a different email address or use the 'Send Password' button on the login page."
Also moved error message to the top of the page so that people can see the message more easily on postback.
1.5.0.1791v - 12/02/2005
by John Mandia(www.whitelightsolutions.com)
- FIX: RBM-216: AddModule doesn't show help icon if a module is selected on the drop down and has a help file associated with it.
- ENH: Added Announcements description help file (Contributed by Jason Kergosien)
1.5.0.1791u - 10/02/2005
by Manu
- FIX: fixed sitemap module guid
- FIX: updated browscap
1.5.0.1791t - 8/02/2005
by Jos Viladiu
- FIX: Corrections in menunavigation and solpartnavigation for change Default.aspx to HttpUrlBuilder.DefaultPage
- ENH: Add cache for autoshopdetect in tabs
- ENH: Rewrite some methods in ModuleDB for best error control and add log error messages.
1.5.0.1791s - 7/02/2005
by Jes1111
- FIX: small error in XslHelper BuildUrl method corrected
- ENH: Page.cs now wraps page in a
with id and class set to allow browser-specific CSS rules to be used.
Common values for ID are:
Explorer: IE
Firefox: Gecko
Netscape: Gecko
Opera: Opera
Usage is simple. To apply a particular CSS ruleset to IE browsers only, prefix the selector like this:
div#IE p.normal{...}
div#Gecko p.normal{...}
etc.
1.5.0.1791r - 7/02/2005
by Jos Viladiu
- FIX: RBM-213 Flash Module is looking for sample flash file in old Rainbow directory. Now get the correct portal path.
- FIX: Change default extension for log file in web.config to prevent unauthorized access from internet.
1.5.0.1791q - 5/02/2005
by John Mandia(www.whitelightsolutions.com)
- FIX: RBP-76 - Applied fix to Rainbow.Settings.
1.5.0.1791p - 5/02/2005
by John Mandia(www.whitelightsolutions.com)
- FIX: All module solution files (solution file within module folder) were broken.
1.5.0.1791o - 5/02/2005
by John Mandia(www.whitelightsolutions.com)
- FIX: RBM-222 Altered setup script to not delete existing table. And also added cascading delete so that when you delete a module it clears up the related data.
- FIX: Solution in blog module folder no longer worked.
1.5.0.1791n - 4/02/2005
by Jos Viladiu
- ENH : Added Options in MapQuest module for show a zoom selector.
- ENH : New translations added for Spanish resource file
- FIX : Center the results in PropertyPage.aspx
- FIX : Changed mid by mID in a lot of places
1.5.0.1791m - 3/02/2005
by Jos Viladiu
- ENH/FIX : Language list selection now from a multiselectlist with only the languages with resources installed.
This enhancement fix the bug RBP-642 because now is not possible to add duplicate languages in list.
- ENH : Update SolpartWebControls.dll
1.5.0.1791l - 2/02/2005
by Mike Stone for Grischa Brockhaus
- FIX : Tabs Cache not cleared correclty Jira Issue RBM-220
1.5.0.1791k - 31/01/2005
by Jos Viladiu
- FIX : Corrections in url build for selector web control
- FIX : Corrections in EnhancedHtml for no show the selected page when lang is changed.
1.5.0.1791j - 29/01/2005
by Jakob Hansen
- FIX : Updated all OneFileModule examples so they will run with the Rainbow.Modules.OneFileModule.dll assembly
- DOC : Quote Module: Described how to set up a folder for quote files using key QuoteFileFolder in web.config.
Please see DesktopModules\Quote\readme.txt for details
1.5.0.1791i - 28/01/2005
by Jos Viladiu
- ENH : Not show module title in theme when title is empty (logon.aspx, register.aspx and usersmanage.aspx)
This change make possible to show the correct ThemePart ControlNoTitle instead of ControlTitle.
1.5.0.1791h - 28/01/2005
by Mike Stone For: Grischa
- ENH : New translations added to the German resource file
1.5.0.1791g - 27/01/2005
by Rob Siera
- FIX : Email with NewRegistration info was send even if registration was not successfull
- FIX : Edit portal settings failed when not using /Portals directory
1.5.0.1791f - 27/01/2005
by Jos Viladiu
- FIX : Added F11 compile option in module projects for no warn
- FIX : Remove obsolete tag in LogHelper methods for modules can access to logger in old style.
Removed unused obsolete methods. Now all methods can access to LogProvider implementation.
1.5.0.1791e - 26/01/2005
by Jes1111
- FIX: Menus in Default, Default Alternate and DueMetri themes were not rendering
properly in non-IE browsers. "@import" statements were at the end of the
CSS files - the CSS standard specifically states that @import statements must
occur before any style rules. They have now been moved to the top.
- FIX: Small correction in Zen Starter theme CSS to correct ZenNavigation
drop-down menu behaviour in non-IE browsers.
1.5.0.1791d - 25/01/2005
by Manu
- ENH: Upgraded Amazon to version 2.0, with cache and promocode.
- Updates some resources
- First release of nant tool for modules (need some fixes)
1.5.0.1791d - 25/01/2005
by Jes1111
- FIX : Certain module types were not minimizing properly - fixed in PortalModuleControl.cs
1.5.0.1791c - 25/01/2005
by Jos Viladiu
- ENH : Show the type of module in moduleSettings
1.5.0.1791b - 24/01/2005
by John Mandia (www.whitelightsolutions.com)
- NEW: 2 controls added for advanced users and testers (They are not used by default)
SmartScroller (A control you can drop onto DesktopDefault.aspx so that you retain
scroll position after postback seems to work on firefox and ie - I've lost the url for the
source of this control if you find it please add here.)
Custom Form (From www.metabuilders.com) this lets you set action="" which
prevents ?tabid=x&etc on postback on friendly urls (Note that this needs testing.
If you have a login on homepage it could throw a viewstate error. This is for evaluation
and advanced users only).
e.g.
<%@ Page language="C#" SmartNavigation="False" CodeBehind="DesktopDefault.aspx.cs" AutoEventWireup="false" Inherits="Rainbow.DesktopDefault"%>
<%@ Register TagPrefix="rbc" Namespace="Rainbow.UI.WebControls" Assembly="Rainbow" %>
- ENH: UrlProviders now support cache time and invalidation (UrlBuilder exposes a
Clear method to clean out stored Url Elements e.g. HttpUrlBuilder.Clear(tabId).
This is called from TabSettings when an update occurs.
If you don't want to set a time expiration on Url Elements set cache time to 0 (submitted for testing).
- ENH: Tabsettings: Url Page Name and Url Keyword moved to Navigation Settings
instead of Meta Settings (As they are url settings)
- ENH: On 3 Panes Layouts/Themes if a module does not load up and you are part of
the admins group you get the error message so you have some idea of what went wrong.
1.5.0.1791a - 24/01/2005
by Jos Viladiu
- FIX : RBP-625 Cached module Guid
- FIX : Remove visual studio user option files from cvs
- FIX : Remove Module librarys from cvs
- FIX : Add removed files to .cvsignore
1.5.0.1791 - 24/01/2005
by John Mandia (www.whitelightsolutions.com)
- NEW & MOD : Seperated all modules into private assemblies from the core
(Apart from workflow and LanguageSwitcher as these are called from the core)
Created Solution file for each module and also one in the root of DesktopModules
which lets you build all modules in one go.
Updated history.xml so that it will reinstall all modules and pick up the new dlls.
All modules now have dlls in the following format Rainbow.Modules.ModuleName.dll
Namespaces are still kept the same to reduce the change of any breaking changes.
All projects deploy to bin folder and have been setup as debug type of url pointing
at http://localhost/rainbow/default.aspx (This lets you debug individual modules).
Nant build scripts still need to be changed to reflect the change.
This dramtically increases the number of dlls in the bin folder (There are 67 new dlls)
and highlights the fact that there are a lot of modules bundled in the core.
This gives people the choice of only having the modules they are interested in
(they can uninstall modules and remove non essential modules from the bin folder)
It also means we can update modules without having to re-release the core
(So minor updates can be done on a per module basis and if you do not use that
module you do not need to do an update).
1.5.0.1790a - 23/01/2005
by Mike Stone
- NEW : Added a new DataType CheckBoxListDataType which of course allows us to pass in
datasource and Value and Text. You can then select more then one item.
for more information see Jira Issue RBP-632
1.5.0.1790 - 23/01/2005
by Jakob Hansen
- NEW : Added new module "Quote". From the readme.txt:
Display a random text string, e.g.: "Not all who wander are lost -- Tolkien".
The text is read from a file or entered by the user. It is possible to select other
files than the provided demo file. You can control the size of the text and if the
the text should be in italic and/or bold. A set of userdefined start and end html tags
are provided for customizing.
IMPORTANT NOTES:
1) Add manually. To avoid causing problems for RC4 you have to add to module manually.
2) This new module does not use the database for anything apart from the Setting system
1.5.0.1789h - 22/01/2005
by Mike Stone
- FIX : A problem found FAQs and Tasks modules where after a clean install if
if you tried to intall the modules again there was an error. YOU DO NOT
need to reinstall these">
///
///
///
///
///
///
///
///
///
public void UpdateContact(int moduleID, int itemID, string userName, string name, string role, string email, string contact1, string contact2, string Fax, string Address)
{
if (userName.Length < 1)
{
userName = "unknown";
}
// Create Instance of Connection and Command Object
SqlConnection myConnection = PortalSettings.SqlConnectionString;
SqlCommand myCommand = new SqlCommand("rb_UpdateContact", myConnection);
// Mark the Command as a SPROC
myCommand.CommandType = CommandType.StoredProcedure;
// Add Parameters to SPROC
SqlParameter parameterItemID = new SqlParameter("@ItemID", SqlDbType.Int, 4);
parameterItemID.Value = itemID;
myCommand.Parameters.Add(parameterItemID);
SqlParameter parameterUserName = new SqlParameter("@UserName", SqlDbType.NVarChar, 100);
parameterUserName.Value = userName;
myCommand.Parameters.Add(parameterUserName);
SqlParameter parameterName = new SqlParameter("@Name", SqlDbType.NVarChar, 100);
parameterName.Value = name;
myCommand.Parameters.Add(parameterName);
SqlParameter parameterRole = new SqlParameter("@Role", SqlDbType.NVarChar, 100);
parameterRole.Value = role;
myCommand.Parameters.Add(parameterRole);
SqlParameter parameterEmail = new SqlParameter("@Email", SqlDbType.NVarChar, 100);
parameterEmail.Value = email;
myCommand.Parameters.Add(parameterEmail);
SqlParameter parameterContact1 = new SqlParameter("@Contact1", SqlDbType.NVarChar, 100);
parameterContact1.Value = contact1;
myCommand.Parameters.Add(parameterContact1);
SqlParameter parameterContact2 = new SqlParameter("@Contact2", SqlDbType.NVarChar, 100);
parameterContact2.Value = contact2;
myCommand.Parameters.Add(parameterContact2);
SqlParameter parameterFax = new SqlParameter("@Fax", SqlDbType.NVarChar, 100);
parameterFax.Value = Fax;
myCommand.Parameters.Add(parameterFax);
SqlParameter parameterAddress = new SqlParameter("@Address", SqlDbType.NVarChar, 100);
parameterAddress.Value = Address;
myCommand.Parameters.Add(parameterAddress);
myConnection.Open();
try
{
myCommand.ExecuteNonQuery();
}
finally
{
myConnection.Close();
}
}
}
} /*
SUGGESTIONS:
-if the module has workflow, use the workflow table!!!!
-you can copy the list of fields for the _CopyItem sproc from
the Add method of that module. Ex get the fields for
rb_Announcements_CopyItem from rb_AddAnnouncement. Just
copy+paste the list twice, add the rest and use the
@ModuleID field.
-the _Summary function MUST, MUST,MUST return both the
ItemID field(named ItemID, you can alias it for others)
ItemDesc(alias + concatenate the fields you want into this one)
-Add a record into the rb_ContentManager for the sprocs you made.
*/
/***************************************************************************************/
if exists (select * from dbo.sysobjects where id = object_id(N'[rb_GetAnnoucements_Summary]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [rb_GetAnnoucements_Summary]
GO
CREATE PROCEDURE rb_GetAnnoucements_Summary
(
@ModuleID int
)
AS
SELECT ItemID, Title + ':: ' + LEFT(Description,200) As ItemDesc FROM rb_Announcements_st WHERE ModuleID = @ModuleID
GO
/***************************************************************************************/
if exists (select * from dbo.sysobjects where id = object_id(N'[rb_Announcements_CopyItem]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [rb_Announcements_CopyItem]
GO
CREATE PROCEDURE rb_Announcements_CopyItem
(
@ItemID int, /*Item that will be copied*/
@TargetModuleID int /*Where to copy it to*/
)
AS
INSERT INTO rb_Announcements_st(
ModuleID,
CreatedByUser,
CreatedDate,
Title,
MoreLink,
MobileMoreLink,
ExpireDate,
Description)
SELECT @TargetModuleID,
CreatedByUser,
CreatedDate,
Title,
MoreLink,
MobileMoreLink,
ExpireDate,
Description
FROM rb_Announcements_st WHERE ItemID = @ItemID
GO
/***************************************************************************************/
if exists (select * from dbo.sysobjects where id = object_id(N'[rb_Announcements_MoveItem]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [rb_Announcements_MoveItem]
GO
CREATE PROCEDURE rb_Announcements_MoveItem
(
@ItemID int,
@TargetModuleID int
)
AS
UPDATE rb_Announcements_st
SET ModuleID = @TargetModuleID
WHERE ItemID = @ItemID
GO
/***************************************************************************************/
if exists (select * from dbo.sysobjects where id = object_id(N'[rb_Announcements_CopyAll]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [rb_Announcements_CopyAll]
GO
CREATE PROCEDURE rb_Announcements_CopyAll
(
@SourceModuleID int, /*Item that will be copied*/
@TargetModuleID int /*Where to copy it to*/
)
AS
INSERT INTO rb_Announcements_st(
ModuleID,
CreatedByUser,
CreatedDate,
Title,
MoreLink,
MobileMoreLink,
ExpireDate,
Description)
SELECT @TargetModuleID,
CreatedByUser,
CreatedDate,
Title,
MoreLink,
MobileMoreLink,
ExpireDate,
Description
FROM rb_Announcements_st WHERE ModuleID = @SourceModuleID
GO
INSERT INTO rb_ContentManager(
GeneralModDefID,
FriendlyName,
SummarySproc,
CopyItemSproc,
MoveItemSproc,
CopyAllSproc,
DeleteItemSproc
)
VALUES('CE55A821-2449-4903-BA1A-EC16DB93F8DB',
'Announcements',
'rb_GetAnnoucements_Summary',
'rb_Announcements_CopyItem',
'rb_Announcements_MoveItem',
'rb_Announcements_CopyAll',
'rb_DeleteAnnouncement')
GO
8 B Y N @ @ Y Y Y
Y
Y Y
Y Y
Y d
Y P Y
Y Y Y
" Y &